Type.registerNamespace("BM");BM.FileUploadValueHandler=function(a){BM.FileUploadValueHandler.initializeBase(this,[a])};BM.FileUploadValueHandler.prototype={getFileUploadLabel:function(){return $(this.getLeafNode()).children(".FileUploadLabel")},getHiddenInput:function(){return $(this.getLeafNode()).children(".HiddenInput")[0]},getEditModeValue:function(){return this.getHiddenInput().value},setEditModeValue:function(a){this.getHiddenInput().value=a;this.getFileUploadLabel().hide();this.leafItem.raiseChanged()},onchange:function(a){this.setValue(this.getControlValue());BM.FileUploadValueHandler.callBaseMethod(this,"onchange",[a])}};BM.ValueHandler.FileUploadValueHandler=BM.FileUploadValueHandler;BM.FileUploadValueHandler.registerClass("BM.FileUploadValueHandler",BM.ValueHandler);